package com.wondertek.service.sdk.iotdh.dto.res.deviceDetail;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author xxx
 * @Date 2024/9/5 11:07
 */
@Data
public class DeviceDetailRes {


    private UpgradeInfo upgradeInfo;

    @Schema(name = "deviceId", description = "设备序列号", required = false)
    private String deviceId;

    @Schema(name = "modelId", description = "设备型号ID", required = false)
    private String modelId;

    @Schema(name = "canBeUpgrade", description = "是否有新的设备软件程序可用", required = false)
    private String canBeUpgrade;

    @Schema(name = "accessType", description = "设备访问类型", required = false)
    private String accessType;

    @Schema(name = "deviceVersion", description = "设备版本", required = false)
    private String deviceVersion;

    @Schema(name = "playInfo", description = "设备播放代码，由opensdk使用", required = false)
    private String playInfo;

    @Schema(name = "brand", description = "设备品牌", required = false)
    private String brand;

    @Schema(name = "encryptMode", description = "设备加密模式", required = false)
    private String encryptMode;

    @Schema(name = "lastOffLineTime", description = "最后一次离线时间", required = false)
    private String lastOffLineTime;

    @Schema(name = "deviceName", description = "设备名称", required = false)
    private String deviceName;

    @Schema(name = "deviceStatus", description = "设备状态：在线，离线，睡眠，升级", required = false)
    private String deviceStatus;

    @Schema(name = "deviceModel", description = "设备型号", required = false)
    private String deviceModel;

    @Schema(name = "catalog", description = "设备类别：NVR, DVR, HCVR, IPC, SD, IHG, ARC", required = false)
    private String catalog;

    @Schema(name = "deviceAbility", description = "设备能力集，用逗号分隔", required = false)
    private String deviceAbility;

    @Schema(name = "channelNum", description = "设备支持的最大连接通道数", required = false)
    private String channelNum;

    @Schema(name = "source", description = "权限类型：绑定，共享", required = false)
    private String source;

    @Schema(name = "isSubDevice", description = "是否为子设备", required = false)
    private String isSubDevice;

    private List<Channel> channels;
}
